
package com.insigma.business.qrcode.soldier._provider;


import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.dto.SoldierPetitionInfoDTO;
import com.insigma.business.qrcode.soldier.request.*;

import java.util.List;


public interface SoldierPetitionInfoProvider {

    
    BasePagingResponse<List<SoldierPetitionInfoDTO>> searchSoldierPetitionInfo(final SoldierPetitionInfoSearchRequest soldierPetitionInfoSearchRequest);

    
    BaseResponse<SoldierPetitionInfoDTO> getSoldierPetitionInfo(final BaseGetRequest baseGetRequest);

    
    BaseResponse<List<SoldierPetitionInfoDTO>> getSoldierPetitionInfoByIdCardNo(final String idCardNo);

    
    BaseResponse<String> insertSoldierPetitionInfo(final SoldierPetitionInfoInsertRequest soldierPetitionInfoInsertRequest);

    
    BaseResponse<String> batchInsert(List<SoldierPetitionInfoInsertRequest> requests);

    
    BaseResponse<String> batchInsertXfData(List<XfInsertRequest> requests);

    
    BaseResponse<Integer> updateSoldierPetitionInfo(final SoldierPetitionInfoUpdateRequest soldierPetitionInfoUpdateRequest);

    
    BaseResponse<Integer> deleteSoldierPetitionInfo(final BaseDeleteRequest deleteRequest);


}
